package online.cmagic.structureType.facade;

/**
 * @author wsc
 * @date: 2020年04月15日 12:56
 * @since JDK 1.8
 */
public interface Shape {
    void draw();
}
class Rectangle implements Shape{

    public void draw(){
        System.out.println("Rectangle : draw()");
    }
}
class Cricle implements Shape{

    public void draw() {
        System.out.println("Cricle : draw()");
    }
}
class Square implements Shape{

    public void draw() {
        System.out.println("Square : draw()");
    }
}